import baseService from '../baseService/index.js'

const loginApi = async (params) => {
    let res = await baseService.post("/login", params)
    return res
}

const logoutApi = async () => {
    let res = await baseService.post("/logout")
    return res
}

export {
    loginApi,
    logoutApi,
}